package com.ujiuye.model;

import java.util.Date;

public class Student {
    private String sid;
    private String stuName;
    private String stuGender;
    private Date stuBir;
    private String stuHobby;
    private String photo;

    public Student() {

    }

    public Student(String stuName, String stuGender) {
        this.stuName = stuName;
        this.stuGender = stuGender;
    }

    public Student(String stuName, String stuGender, Date stuBir, String stuHobby, String photo) {
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuBir = stuBir;
        this.stuHobby = stuHobby;
        this.photo = photo;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    public Date getStuBir() {
        return stuBir;
    }

    public void setStuBir(Date stuBir) {
        this.stuBir = stuBir;
    }

    public String getStuHobby() {
        return stuHobby;
    }

    public void setStuHobby(String stuHobby) {
        this.stuHobby = stuHobby;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", stuName='" + stuName + '\'' +
                ", stuGender='" + stuGender + '\'' +
                ", stuBir=" + stuBir +
                ", stuHobby='" + stuHobby + '\'' +
                ", photo='" + photo + '\'' +
                '}';
    }
}
